<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        function fn(){
            console.log('继续一秒一次')
        }
        let n =setInterval(fn,1000)
        console.log(n)
        let m =setInterval(function(){
            console.log('一秒执行一次')

        },1000)
        console.log(m)
        clearInterval(n)
    </script>
</body>
</html>